package cn.gson.work.model.service;

import cn.gson.work.model.mapper.HuiyishisMapper;
import cn.gson.work.model.pojos.Huiyishi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HuiyishisSrevice {
	@Autowired
	HuiyishisMapper hm;
	public List<Huiyishi>selectAll(){

		return hm.selectAll();
	}

	/*新增*/
	public void addAdd(Huiyishi huiyishi){

		hm.addAll(huiyishi);
	}


}
